﻿using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace Microsoft.Office.Interop.Word
{
	[CompilerGenerated]
	[DefaultMember("Name")]
	[Guid("0002096B-0000-0000-C000-000000000046")]
	[TypeIdentifier]
	[ComImport]
	public interface _Document
	{
		[DispId(0)]
		string Name { [DispId(0)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.BStr)] get; }

		void _VtblGap1_7();

		[DispId(6)]
		Tables Tables { [DispId(6)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.Interface)] get; }

		void _VtblGap2_13();

		[DispId(16)]
		Paragraphs Paragraphs { [DispId(16)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.Interface)] get; }

		void _VtblGap3_137();

		[DispId(1105)]
		[MethodImpl(MethodImplOptions.InternalCall)]
		void Close([MarshalAs(UnmanagedType.Struct)] [In] ref object SaveChanges = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object OriginalFormat = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object RouteDocument = null);

		void _VtblGap4_129();

		[DispId(376)]
		[MethodImpl(MethodImplOptions.InternalCall)]
		void SaveAs([MarshalAs(UnmanagedType.Struct)] [In] ref object FileName = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object FileFormat = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object LockComments = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object Password = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object AddToRecentFiles = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object WritePassword = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object ReadOnlyRecommended = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object EmbedTrueTypeFonts = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object SaveNativePictureFormat = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object SaveFormsData = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object SaveAsAOCELetter = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object Encoding = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object InsertLineBreaks = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object AllowSubstitutions = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object LineEnding = null, [MarshalAs(UnmanagedType.Struct)] [In] ref object AddBiDiMarks = null);
	}
}
